package com.tg.data.http.entity;


public class PushEventBean {
    public long start_ts;
    public long device_id;
    public String tag_name;
    public String message_type;
    public String message_type_google;
    public String tag_msg;
    public String uuid;
    public int alert_type;
    public String start_time;
    public String image_path;
    public long user_id;
    public String nickname;
    public String ossid;
    public int msg_type;
    public String des_key;
    public String tag;
    public int is_pay;
    public String addr;
    public String pos;
    public String btn_style;
    public  String btn_name;
    public String url;
    public String message;
    public boolean is_ai_tag;
    public String requestid;
    public String subclass;
    public String similarity_degree;


    public PushEventBean(){}
    public  boolean isTimeOut(){
        long curTM = System.currentTimeMillis()/1000;
        return  start_ts+30 < curTM;
    }

    @Override
    public String toString() {
        return "PushEventBean{" +
                "start_ts=" + start_ts +
                ", device_id=" + device_id +
                ", tag_name='" + tag_name + '\'' +
                ", message_type='" + message_type + '\'' +
                ", message_type_google='" + message_type_google + '\'' +
                ", tag_msg='" + tag_msg + '\'' +
                ", uuid='" + uuid + '\'' +
                ", alert_type=" + alert_type +
                ", start_time='" + start_time + '\'' +
                ", image_path='" + image_path + '\'' +
                ", user_id=" + user_id +
                ", nickname='" + nickname + '\'' +
                ", ossid='" + ossid + '\'' +
                ", msg_type=" + msg_type +
                ", des_key='" + des_key + '\'' +
                ", tag='" + tag + '\'' +
                ", is_pay=" + is_pay +
                ", addr='" + addr + '\'' +
                ", pos='" + pos + '\'' +
                ", btn_style='" + btn_style + '\'' +
                ", btn_name='" + btn_name + '\'' +
                ", url='" + url + '\'' +
                ", message='" + message + '\'' +
                ", is_ai_tag='" + is_ai_tag + '\'' +
                ", subclass='" + subclass + '\'' +
                ", similarity_degree='" + similarity_degree + '\'' +
                '}';
    }
}
